.tree-controls{display:block;padding-left:14px;border-bottom:1px solid #ccc}
.tree-controls a{width:16px;height:16px;display:inline-block}
.tree-controls a.all{background:url(../image/tree-toggle-all.png) no-repeat center center}
.tree-controls a.none{background:url(../image/tree-toggle-none.png) no-repeat center center}
.tree{list-style-type:none;padding-left:16px}
.tree li{height:20px;clear:both;position:relative}
.tree li.editing{height:auto}
.tree .spacer,.tree .toggle{display:block;float:left;width:14px;height:20px;background-repeat:no-repeat;background-position:0 0}
.tree .spacer{background:url(../image/tree-spacer.png)}
.tree .last > .spacer{background-image:url(../image/tree-spacer-last.png)}
.tree .toggle{background-image:url(../image/tree-toggle-closed.png)}
.tree .first .toggle{background-image:url(../image/tree-toggle-closed-first.png)}
.tree .last .toggle{background-image:url(../image/tree-toggle-closed-last.png)}
.tree .toggle.opened{background-image:url(../image/tree-toggle-opened.png)}
.tree .last .toggle.opened{background-image:url(../image/tree-toggle-opened-last.png)}
.tree .submenu{height:auto}
.tree .submenu ul{display:none;padding-left:20px;border-left:1px dotted #aaa;margin-left:5px}
.tree .submenu.last ul{border-left:none}
.tree .submenu.first .spacer{background:url(../image/tree-spacer.png)}
.tree .submenu .first .spacer{background:url(../image/tree-spacer.png)}
.tree .submenu.first .last .spacer{background:url(../image/tree-spacer-last.png)}
.tree .submenu.first .toggle{background-image:url(../image/tree-toggle-closed.png)}
.tree .submenu.first .toggle.opened{background-image:url(../image/tree-toggle-opened.png)}
.tree .submenu .last > .spacer{background:url(../image/tree-spacer-last.png)}
.tree .submenu.last .toggle{background-image:url(../image/tree-toggle-closed-last.png)}
.tree .submenu.last .toggle.opened{background-image:url(../image/tree-toggle-opened-last.png)}
.tree .selected{background:#369;color:#fff}
.tree label{padding:2px 4px;margin:0}
.tree .throbber{position:absolute;top:0;border-radius:10px;padding:2px;box-shadow:0 0 3px #555}